//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.user.service;

import com.ruoyi.live.base.domain.LiveExam;
import com.ruoyi.live.base.mapper.LiveExamMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service
public class ReportService {
    @Autowired
    LiveExamMapper examDao;

    public ReportService() {
    }

    public Map<String, Object> getInitParams(Long id) {
        LiveExam exam = (LiveExam)this.examDao.selectById(id);
        Map<String, Object> res = new HashMap();
        res.put("examName", exam.getExamName());
        return res;
    }
}
